<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script type="text/javascript" src="../ckeditor_3.6.2/ckeditor.js"></script>
		<script type="text/javascript">
			function submit() {
				alert(CKEDITOR.instances.editor1.getData()); 
			}
		</script>
	</head>
	<body>
		<textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
		<script type="text/javascript">
			CKEDITOR.replace('editor1');
		</script>
		<input type="button" value="提交" onclick="submit()">
	</body>
</html>